package com.song.tools.trigger;

/**
 * 触发器
 *
 * @author song tools
 * @since 2024-07-19
 */
public interface Trigger<TriggerRequest, TriggerResponse> {
    /**
     * 触发
     *
     * @param triggerContext 触发上下文
     * @return 触发结果
     */
    TriggerResponse trigger(TriggerContext<TriggerRequest> triggerContext);
}
